//
//  main.m
//  test
//
//  Created by quanwei chen on 2020/6/12.
//  Copyright © 2020 quanwei chen. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AppDelegate.h"

int main(int argc, char * argv[]) {
    NSString * appDelegateClassName;
    @autoreleasepool {
        NSString *temp = @"aaaaaaaaaaaaaaaaaaaaaaa";
        NSString *a = [temp copy];
        printf("Retain Count = %ld\n",CFGetRetainCount((__bridge CFTypeRef)(a)));
        dispatch_async(dispatch_queue_create(DISPATCH_QUEUE_PRIORITY_DEFAULT, NULL), ^{

            NSLog(@"耗时的任务 结束 TestObj对象地址");
        });
        // Setup code that might create autoreleased objects goes here.
        appDelegateClassName = NSStringFromClass([AppDelegate class]);
    }
    return UIApplicationMain(argc, argv, nil, appDelegateClassName);
}
